home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 16 / Commodore_Free_Issue_16_2008_Commodore_Computer_Club.d64 / t.x1541 cable 1 < prev    next >
Text File  |  2023-02-26  |  11KB  |  364 lines

  1. uX1541 - The Idiot's Guide
  2. http://www.geocities.com/cdsixfour/
  3.  x1541.htm
  4.  
  5. Page 1 of 2
  6.  
  7. The finished product - the X1541
  8.  
  9. This page is here to help those of us
  10. out there who have NO IDEA about
  11. transferring games between a PC & a C64
  12. It's called the idiot's guide because
  13. even an idiot is supposed to be able to
  14. do it! This includes myself as I was
  15. once an idiot in regard to the X1541.
  16.  
  17. What's .zip, .lha, .d64, .lnx, .z64
  18. and 1! all about?
  19.  
  20. For those of you who have nearly no
  21. knowledge of file archiving, seeing
  22. .zip at the end of a downloaded file
  23. will not make much sense to you.
  24. You'll see files all over the net with
  25. a .zip extension, including my page.
  26. To the uninitiated, a .zip file is
  27. usually a compressed file (or files)
  28. that are compacted into one file and
  29. placed on the web or sent in emails so
  30. that connection time is kept short and
  31. so that the files take up little
  32. space. Another well known compressor
  33. is lha (a.k.a. lzh. This can be opened
  34. with recent versions of lha). If
  35. you're looking for help on using these
  36. compressors, go to this site. It's
  37. mostly a case of placing the
  38. compressor in your DOS folder on your
  39. C drive and following the instructions
  40. contained within the file itself.
  41.  
  42. So, if you need a unzipper, PKUNZIP is
  43. probably the most standard one to get
  44. - and if you need it or any other
  45. archival programs, this site gives you
  46. the most complete treatment of
  47. archival programs to download that I
  48. know of. If you're using Windows, then
  49. Winzip is really the only way to go. It
  50. handles long filenames, whereas
  51. PKUNZIP can't handle them and refuses
  52. to extract them. Some zips on the C64
  53. FTP sites contain long filenames
  54. (unfortunately) that can't be extracted
  55. under PKUNZIP. Why Microsoft initially
  56. had the 8.3 filename convention in the
  57. first place really baffles me.
  58.  
  59. .d64 file extensions are disk image
  60. extensions. The files are images of a
  61. Commodore 1541 disk, and contain all
  62. the code that a 1541 disk side would.
  63. These files are loaded by most C64
  64. emulators and  are treated like a 1541
  65. disk. This is usually the result after
  66. transferring C64 1541 disk sides to the
  67. PC.
  68.  
  69. .lnx files are LYNXed files, usually
  70. done with a program called "Ultimate
  71. Lynx" or "Ultimate Lynx 3" which is a
  72. C64 program that packs several files
  73. into a single file. The Star Commander
  74. can open these and the files contained
  75. in it can be copied into disk images.
  76. However, the latest release of the
  77. Star Commander has difficulty with
  78. some lynx files created with Ultimate
  79. Lynx 3. Star Commander tends to
  80. operate well only with the standard
  81. lynx format. In this case, the lynxed
  82. file itself can be copied into a disk
  83. image and unpacked with Ultimate Lynx
  84. 3 from a C64 or an emulator. The Star
  85. Commander makes it a lot easier,
  86. however, but occasionally it will
  87. report that the lynx file is "corrupt"
  88. when really it can't understand the
  89. format. Should you need Ultimate Lynx
  90. 3, I have it for you to download. I've
  91. recently put Ultimate Lynx 3 on the
  92. disk image next to Ultimate Lynx 1, so
  93. now you should be able to extract
  94. files lynxed with Ultimate Lynx 3, too.
  95.  
  96. Another file type that can be found in
  97. many C64 archives are Zip-coded disks
  98. (not to be confused with .zip files!).
  99. They appear as 1!example, 2!example,
  100. 3!example, and 4!example. These are
  101. packed files that constitute all tracks
  102. and sectors of a 1541 disk side. Some
  103. wise-guys have even decided to give
  104. them a .z64 extention, even though they
  105. are recognised by their "1!" style
  106. prefixes. These .z64 files should be
  107. treated as Zip-coded disks (although I
  108. personally disapprove that they should
  109. be called .z64 files).
  110.  
  111. Zip-coded files appear as x! example,
  112. a! example, b! example, etc. They are
  113. simply packed files. Both Zip-coded
  114. disks and files can be depacked with a
  115. PC program called 64Copy, or on the 64
  116. with Zip-Code utilities. They are
  117. rare, but if you find them copy them
  118. into a .d64 image and run them through
  119. the Zip-code utilities. When depacking
  120. Zip-coded disks, beware of the
  121. "Zip-DOS read" option. With many
  122. zip-coded disks, leaving this on YES
  123. while depacking can corrupt the data
  124. on the final product. If you need
  125. zip-code utilities, I have them for
  126. you to download.
  127.  
  128. The Best Way
  129. Although there is more than one way,
  130. the best way to transfer programs
  131. cross-platform between a PC and C64 is
  132. to use a 1541 disk drive connected to a
  133. IBM compatible PC. You connect a cable
  134. (called the X1541 cable) from the
  135. serial port on the 1541 and connect it
  136. to the LPT parallel printer port on
  137. your PC. From there you use a transfer
  138. program (I recommend the Star Commander
  139. although there are several other
  140. transfer utilities available on the
  141. net. After that it's simple.
  142.  
  143. The reason why this is the best method
  144. is because the 5.25" drives on IBM
  145. machines are MFM format drives while
  146. the 1541 is a GCR format drive. These
  147. formats are incompatible. Not only
  148. that, but 1541 drives are "smart"
  149. because they contain the necessary on
  150. board electronics and disk operating
  151. firmware, whereas IBM drives don't
  152. necessarily. Hooking a 1541 up to an
  153. IBM is much simpler. Text files can be
  154. transfered with a 1571 and a program
  155. called the "Big Blue Reader" if you
  156. want. The 1571 can read both MFM and
  157. GCR. Transferring by this method is
  158. very slow though, so forget it unless
  159. you want to convert C64 word processor
  160. files to an IBM wordprocessor.
  161.  
  162. So where do I get the X1541 cable?
  163.  
  164. Ahhh... The PC is easy to get. If you
  165. don't have a 1541 disk drive (Or your
  166. old drive is broken) you can order a
  167. new one from CMD but beware the $
  168. factor. The X1541 cable, however....
  169. you'll have to build yourself. Also,
  170. the author of the Star Commander has a
  171. team that builds quality cables at
  172. very reasonable prices.
  173.  
  174. IMPORTANT NOTE:
  175. At this point it is probably worth
  176. mentioning that if you have a Pentium
  177. II motherboard (or better - I think),
  178. that the X1541 cable WILL NOT WORK on
  179. the Star Commander. The only cable
  180. that will work is the XE1541 cable.
  181. This requires extra components. All is
  182. explained here.
  183.  
  184. But I don't know how to make one!
  185. I personally had no idea about
  186. soldering a cable together when I
  187. first thought about building a X1541
  188. cable. I did some reading on the topic
  189. and after some practice I found myself
  190. building a fully working cable!!! If
  191. you don't know where to start when
  192. soldering or you can't understand the
  193. X1541 diagrams, I'll explain. I'm no
  194. electrician, but I can point you in
  195. the right direction. You don't need
  196. talent to build a cable or even to
  197. solder. An hour or so of practice is
  198. all you need.
  199.  
  200. There is another way to create a crude
  201. X1541 cable without having to solder.
  202.  
  203. So what will I need?
  204.  
  205. Go down to your local electronic parts/
  206. hobby shop and buy the following:
  207.  
  208. A soldering iron - A cheap one will
  209. do. Preferably one with a narrow tip.
  210. It will be touching small surfaces.
  211. Resin flux solder - Preferably with
  212. the smallest diameter wire possible. I
  213. use 0.7mm. Remember it must be RESIN
  214. FLUX solder. Resin flux is used for
  215. electronic soldering.
  216.  
  217. Wire - It doesn't matter what type of
  218. wire, as long as they're not bare
  219. wires and have some plastic shielding.
  220. I used copper wire. Try to get
  221. different coloured wires so that you
  222. can tell them apart.
  223.  
  224. Wire stripper - To get the plastic
  225. cover off the wire!
  226.  
  227. Steel wool - To polish surfaces before
  228. soldering. Shrink tubing - To keep all
  229. the wires together to make the cable.
  230. I used a tubing 5.0mm in diameter. The
  231. diameter of the shrink tubing will
  232. usually depend on the diameter of the
  233. wire you're using. You may have to use
  234. your good judgment in deciding which
  235. ones to get.
  236.  
  237. Male 6 pin din plug - This bit goes
  238. into your 1541 serial port.
  239.  
  240. Male D25 solder plug - This bit goes
  241. into your PC's LPT port. It's called a
  242. D25 plug in electronic supplies
  243. stores. Make sure it's the solder
  244. variety. You'll notice it has
  245. catchment sockets to collect solder on
  246. the other side of the pins.
  247.  
  248. Male D25 casing - To cover the D25
  249. plug! I prefer using a plastic casing
  250. as opposed to a metal casing Sticky
  251. tape / Blu tak - to hold things in
  252. place while you solder.
  253.  
  254. A copy of the X1541 specifications -
  255. If you choose to work without one I
  256. hope you know what you're doing! You
  257. must have a good memory! Joe Forster
  258. has the specs on his X1541 page
  259.  
  260. Remember this:
  261. A male plug has pins on it that stick
  262. out. A female plug has holes that
  263. these pins go in. So if you've got a
  264. dirty mind, sexual innuendo such as
  265. this will help you remember!! The
  266. X1541 cable has two male plugs, so
  267. they'll both have pins sticking out!
  268. These are the ones you get!
  269.  
  270. It may be helpful for those who have
  271. never soldered before to buy several
  272. plugs before building the cable to
  273. practice on first. This way, if you
  274. mess up your plug you have a spare to
  275. work on.
  276.  
  277. Step 1
  278. First, we're going to create the cable
  279. part. If you notice the specifications
  280. of the X1541, you can't make the cable
  281. more than a metre long. I recommend the
  282. cable to be about 40-50cm long. Cut
  283. your wires to about 20cm longer than
  284. the length you wish to make the cable.
  285. This is so you have some room for error
  286. should you mess up and have to cut the
  287. wire some more.
  288.  
  289. Next, we're going to get those wires
  290. down the shrink tubing. This may
  291. require some patience depending on how
  292. large the diameter of the shrink
  293. tubing is and the wires you have. If
  294. you do have difficulty putting the
  295. wires down the tubing, look at the
  296. diagram and all your wires. Hopefully
  297. you'll have different coloured wires.
  298. Now decide which coloured wire will be
  299. for each connection. I decided like
  300. this:
  301.  
  302.  COLOUR  -  CBM    - IBM
  303. =======================================
  304.   RED    - Ground - Ground
  305.   BLACK  - Reset  - Init
  306.   BLUE   - Clock  - AutoFeed
  307.   BROWN  - Atn    - Strobe
  308.   GREEN  - Data   - Select In
  309.   YELLOW - Autodetect connection
  310.    (optional)
  311.  
  312. Now, notice where the wires are on the
  313. CBM serial diagram you have? Well In
  314. my case, the Black reset wire and
  315. Green Data wire are above the other
  316. three wires on the diagram. What I did
  317. was to push the wires down the shrink
  318. tube in this arrangement so that they
  319. came out untangled and in this
  320. arrangement by the time they came out
  321. the other end. The longer your shrink
  322. tube is, however, the harder this may
  323. be. If the wires tangle inside the
  324. shrink tube, they will have trouble
  325. going down. Try not to let this happen
  326. for your sanity's sake! It would be
  327. great if the wires inside didn't
  328. tangle because eventually when you
  329. shrink the tubing it will look
  330. professional, because there will be no
  331. bumps in the cable because of tangled
  332. wires. Eventually you will have five
  333. wires running through the shrink tube.
  334. Now we're ready to solder!!
  335.  
  336. Step 2
  337. OK, now that we've done the easy bit,
  338. it's time for the harder bits.
  339.  
  340. Pull the wires through the tube so
  341. that they have even length on both
  342. ends of the tube. Plug in your
  343. soldering iron and allow it to heat
  344. up. Soldering is not too difficult,
  345. but there are a few things to
  346. remember:
  347.  
  348. Don't burn yourself! It can get real
  349. hot. Try to have a place to rest your
  350. soldering iron when not using it. A
  351. soldering iron stand is obviously the
  352. best thing for this, but still you may
  353. not want to get one, and you don't
  354. have to either. I have been burnt
  355. before by a soldering iron and it's
  356. not funny!  Use steel wool to clean
  357. surfaces that you solder before
  358. soldering. This is so the solder has
  359. no trouble rolling off the tip of the
  360. soldering iron instead of bubbling up
  361. on the tip.
  362.  
  363. Continued in Part 2
  364.